Index: trunk/src/tmcsim/client/ATMSBatchDriver.java
===================================================================
--- trunk/src/tmcsim/client/ATMSBatchDriver.java	(revision 127)
+++ trunk/src/tmcsim/client/ATMSBatchDriver.java	(revision 128)
@@ -114,5 +114,8 @@
     /** Instance of ConsoleDriver that contains the highway model */
     private ConsoleDriver console;
-
+    
+    /** GUI for this driver */
+    private ATMSBatchViewer theView;
+    
     /**
      * Constructor. Initialize data from parsed properties file. Create a socket
@@ -142,4 +145,8 @@
         // READ THE BATCH FILE OF COMMANDS and put in a queue
         readBatchFile();
+        // Launch the display
+        theView = new ATMSBatchViewer();
+        theView.setVisible(true);
+        theView.update("0:00", eventQueue);        
         // Create a timer that fetches the simulation time every second.
         Timer timer = new Timer(ONE_SECOND, new ActionListener()
@@ -162,5 +169,5 @@
                         System.exit(-1);
                     }                    
-                    System.out.println("Current clock: " + currentClock);
+                    //System.out.println("Current clock: " + currentClock);
                 } catch (RemoteException ex)
                 {
@@ -181,5 +188,6 @@
                         eventQueue.remove();
                     }
-                    System.out.println("Next event will be launched at: " + formatter.format(eventTime));
+                    //System.out.println("Next event will be launched at: " + formatter.format(eventTime));
+                    theView.update(currentClock, eventQueue);
                     // Check the queue of events to see if the first
                     // item should be launched.  IF so, 
@@ -381,6 +389,11 @@
             while (true)
             {
-                // Write the highway network status to the FEP Simulator
-                highways.writeToFEP();
+                try {
+                    // Write the highway network status to the FEP Simulator
+                    highways.writeToFEP();
+                } catch (SimulationException ex) 
+                {
+                    System.out.println("Skipping writeToFEP...");
+                }
 
                 // Wait for FEP Sim to process the data we just sent
