Index: trunk/src/event/editor/TowPanel.java
===================================================================
--- trunk/src/event/editor/TowPanel.java	(revision 130)
+++ trunk/src/event/editor/TowPanel.java	(revision 140)
@@ -86,8 +86,11 @@
     public void uponClose()
     {
-        event.towCompany = txtCompany.getText();
-        event.towBeat = txtBeat.getText();
-        event.towConfNum = txtConfirmationNumber.getText();
-        event.towPubNum = txtPublicNumber.getText();
+        if (event != null)
+        {
+            event.towCompany = txtCompany.getText();
+            event.towBeat = txtBeat.getText();
+            event.towConfNum = txtConfirmationNumber.getText();
+            event.towPubNum = txtPublicNumber.getText();
+        }
     }
 
Index: trunk/src/event/editor/CMSEvaluationPanel.java
===================================================================
--- trunk/src/event/editor/CMSEvaluationPanel.java	(revision 130)
+++ trunk/src/event/editor/CMSEvaluationPanel.java	(revision 140)
@@ -35,7 +35,7 @@
         event = (CMSEvaluationEvent) sei;
         txtID.setText(event.cmsID);
-        
+
         txtLocation.setText(event.location);
-        
+
         txtMessage.setText("");
         for (int i = 0; i < event.message.size(); i++)
@@ -50,5 +50,5 @@
             }
         }
-        
+
         addButton.addActionListener(new ActionListener()
         {
@@ -82,5 +82,5 @@
         throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
     }
-    
+
     @Override
     public boolean removeAssociatedEvent()
@@ -94,7 +94,10 @@
     public void uponClose()
     {
-        event.cmsID = txtID.getText();
-        event.location = txtLocation.getText();
-        event.cmsType = TypeDropdown.getSelectedItem().toString();
+        if (event != null)
+        {
+            event.cmsID = txtID.getText();
+            event.location = txtLocation.getText();
+            event.cmsType = TypeDropdown.getSelectedItem().toString();
+        }
     }
 
Index: trunk/src/event/editor/UnitPanel.java
===================================================================
--- trunk/src/event/editor/UnitPanel.java	(revision 130)
+++ trunk/src/event/editor/UnitPanel.java	(revision 140)
@@ -94,8 +94,11 @@
     public void uponClose()
     {
-        event.unitNum = txtUnitNumber.getText();
-        event.unitActive = ActiveDropdown.getSelectedItem().toString();
-        event.unitPrimary = PrimaryDropdown.getSelectedItem().toString();
-        event.unitStatus = StatusDropdown.getSelectedItem().toString();
+        if (event != null)
+        {
+            event.unitNum = txtUnitNumber.getText();
+            event.unitActive = ActiveDropdown.getSelectedItem().toString();
+            event.unitPrimary = PrimaryDropdown.getSelectedItem().toString();
+            event.unitStatus = StatusDropdown.getSelectedItem().toString();
+        }
     }
 
Index: trunk/src/event/editor/TMTRadioPanel.java
===================================================================
--- trunk/src/event/editor/TMTRadioPanel.java	(revision 130)
+++ trunk/src/event/editor/TMTRadioPanel.java	(revision 140)
@@ -33,9 +33,9 @@
         throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
     }
-    
+
     @Override
     public boolean removeAssociatedEvent()
     {
-        ((I_ScriptEvent)event).removeThis();
+        ((I_ScriptEvent) event).removeThis();
         event = null;
         return true;
@@ -45,5 +45,8 @@
     public void uponClose()
     {
-        event.message = jTextArea1.getText();
+        if (event != null)
+        {
+            event.message = jTextArea1.getText();
+        }
     }
 
Index: trunk/src/event/editor/CADLogPanel.java
===================================================================
--- trunk/src/event/editor/CADLogPanel.java	(revision 130)
+++ trunk/src/event/editor/CADLogPanel.java	(revision 140)
@@ -23,4 +23,5 @@
         initComponents();
     }
+
     /**
      * Load the script event associated with this editor panel.
@@ -52,5 +53,8 @@
     public void uponClose()
     {
-        event.detail = CadTextField.getText();
+        if (event != null)
+        {
+            event.detail = CadTextField.getText();
+        }
     }
 
Index: trunk/src/event/editor/CHPRadioPanel.java
===================================================================
--- trunk/src/event/editor/CHPRadioPanel.java	(revision 130)
+++ trunk/src/event/editor/CHPRadioPanel.java	(revision 140)
@@ -36,10 +36,11 @@
         event = (CHPRadioEvent) sei;
         audioText.setText(event.radioFile);
-        
+
         for (int i = 0; i < event.lines.size(); i++)
         {
             ((MyTableModel) dialogTable.getModel()).addRow(event.roles.get(i), event.lines.get(i));
         }
-        addDispatchButton.addActionListener(new ActionListener() {
+        addDispatchButton.addActionListener(new ActionListener()
+        {
 
             public void actionPerformed(ActionEvent e)
@@ -50,5 +51,6 @@
             }
         });
-        addFieldButton.addActionListener(new ActionListener() {
+        addFieldButton.addActionListener(new ActionListener()
+        {
 
             public void actionPerformed(ActionEvent e)
@@ -69,5 +71,5 @@
                     event.lines.set(e.getLastRow(), dialogTable.getModel().getValueAt(e.getLastRow(), 1).toString());
                 }
-                if(e.getType() == TableModelEvent.DELETE)
+                if (e.getType() == TableModelEvent.DELETE)
                 {
                     event.roles.remove(e.getLastRow());
@@ -76,5 +78,5 @@
             }
         });
-        
+
     }
 
@@ -83,9 +85,9 @@
         throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
     }
-    
+
     @Override
     public boolean removeAssociatedEvent()
     {
-        ((I_ScriptEvent)event).removeThis();
+        ((I_ScriptEvent) event).removeThis();
         event = null;
         return true;
@@ -95,5 +97,8 @@
     public void uponClose()
     {
-        event.radioFile = audioText.getText();
+        if (event != null)
+        {
+            event.radioFile = audioText.getText();
+        }
     }
 
Index: trunk/src/event/editor/WitnessPanel.java
===================================================================
--- trunk/src/event/editor/WitnessPanel.java	(revision 130)
+++ trunk/src/event/editor/WitnessPanel.java	(revision 140)
@@ -64,7 +64,10 @@
     public void uponClose()
     {
-        event.witnessName = txtFirstName.getText() + " " + txtLastName.getText();
-        event.witnessNum = txtPhoneNumber.getText();
-        event.witnessAddress = txtAddress.getText();
+        if (event != null)
+        {
+            event.witnessName = txtFirstName.getText() + " " + txtLastName.getText();
+            event.witnessNum = txtPhoneNumber.getText();
+            event.witnessAddress = txtAddress.getText();
+        }
     }
 
Index: trunk/src/event/editor/ParamicsPanel.java
===================================================================
--- trunk/src/event/editor/ParamicsPanel.java	(revision 130)
+++ trunk/src/event/editor/ParamicsPanel.java	(revision 140)
@@ -96,10 +96,13 @@
     public void uponClose()
     {
-        event.locationID = LocationDropdown.getSelectedItem().toString();
-        event.status = StatusDropdown.getSelectedItem().toString();
-        event.type = TypeDropdown.getSelectedItem().toString();
-        for (JCheckBox lane : lanes)
-        {
-            lane.getActionListeners()[0].actionPerformed(new ActionEvent(lane, 0, "record"));
+        if (event != null)
+        {
+            event.locationID = LocationDropdown.getSelectedItem().toString();
+            event.status = StatusDropdown.getSelectedItem().toString();
+            event.type = TypeDropdown.getSelectedItem().toString();
+            for (JCheckBox lane : lanes)
+            {
+                lane.getActionListeners()[0].actionPerformed(new ActionEvent(lane, 0, "record"));
+            }
         }
     }
Index: trunk/src/event/editor/MaintenanceRadioPanel.java
===================================================================
--- trunk/src/event/editor/MaintenanceRadioPanel.java	(revision 130)
+++ trunk/src/event/editor/MaintenanceRadioPanel.java	(revision 140)
@@ -45,5 +45,8 @@
     public void uponClose()
     {
-        event.message = jTextArea1.getText();
+        if (event != null)
+        {
+            event.message = jTextArea1.getText();
+        }
     }
 
Index: trunk/src/event/editor/AudioPanel.java
===================================================================
--- trunk/src/event/editor/AudioPanel.java	(revision 130)
+++ trunk/src/event/editor/AudioPanel.java	(revision 140)
@@ -50,12 +50,15 @@
     public void uponClose()
     {
-        event.audioPath = audioFileText.getText();
-        try
+        if (event != null)
         {
-            event.audioLength = Integer.parseInt(audioLengthText.getText());
-        }
-        catch (Exception ex)
-        {
+            event.audioPath = audioFileText.getText();
+            try
+            {
+                event.audioLength = Integer.parseInt(audioLengthText.getText());
+            }
+            catch (Exception ex)
+            {
 
+            }
         }
     }
