                     "\n   size: " + dos.size +
                     stackToString(dos.stack) +
                     "\n]";
-            }
-
+            } 
+            
             return "[Sample" +
                 "\n   time: " + s.time +
                 stackToString(s.stack) +

                    return;
                    
                case "GET SAMPLES":
                    trace(PREFIX, "Sending", getSampleCount(), "samples");

                    _socket.send("SENDING SAMPLES: " + getSampleCount());
                    
                    for each (var s:Sample in getSamples()) {
                        _socket.send(sampleToString(s));
                    }
                    
                    trace(PREFIX, "Done sending samples");
                    
                    return;
                    

    import flash.events.DataEvent;
    import flash.events.IOErrorEvent;
    import flash.events.SecurityErrorEvent;
    import flash.events.TimerEvent;
    import flash.net.XMLSocket;
    import flash.system.System;
    import flash.utils.getTimer;
    import flash.utils.Timer;
    import flash.utils.getQualifiedClassName;
    import flash.sampler.*;

