Close socket on disconnect, Stop destroy from WS
Added delay helper function for gruntfile
Added index debug code
Worker console.log overhaul, fixed type-error and importScript globals