testing out gigabit api with text editor

api work

deciding between setting all of the text editor input as the value for
"js" in the JSON messages published to channel, and instead using a
publish function, so you can have other code in the text editor that
gets executed by the client
main.js web socket timeout callback

client.disconnected( callback ) fires when the connection breaks. It
calls restartState() to restart the current game state without
refreshing and without having to reselect the same bot that's been in
use
Merge branch 'John'
main.js connection timeout reconnect

now restartState() reconnects the client and then restarts the current
game state if no error
main.js timeout restart state

after restarting the state, can still control the robot, but keyspaces
and everything else are not getting updated...
Merge branch 'John'
Revert "Merge branch 'John'"

This reverts commit 93d6864d23785130d476298797b38419e0bb3f1d, reversing
changes made to 0b3ade985e8c119ef0ef86982bc7a6e4ffc0d361.
main.js cleaning

removed parentheses from 'if( type( variable ) !== "undefined") )'
statements
main.js added state

 trying to work out client disconnect and then starting a new instance
of the game
Merge branch 'John'

Conflicts:
	js/main.js
added new image assets

new images for new design
main.js rearrangement

made system box, moved sensor boxes, added sensor top bars
deleted other stuff
in progress...
main.js and assets - motor boxes rearranged

motor boxes rearranged
main.js gang box redesign

in progress, more fixes to make
main.js gang redesign finished

gang checkboxes auto layout
assets changed
main.js system box design

system box design
renamed assets for concision
main.js touch sensor

resdesigned
main.js color sensor

color sensor redesign
main.js IR and ultrasonic sensors

IR and ultrasonic sensors redesigned
added sample data and methods

added sample data and methods