Fix pause button
Fixed if statements
Merge branch 'develop' into fix-pause
Merge branch 'develop' into fix-pause

Conflicts:
	src/debugging/OverlayRenderer.js
sockets now support 4 read modes: json; xml; delimiter; stream (default).
Merge branch 'develop' into feature-socket-reader
fixed xml read mode: use DOMParser; throw error in non-browser environments.
check for parser before creating new one
removed stray log
Merge pull request #13 from gameclosure/feature-socket-reader

Feature socket reader.  LGTM @chris-gc
Merge pull request #7 from gameclosure/fix-pause

Fix pause button
forward error message to javascript error handler
Merge pull request #14 from gameclosure/fix-socket-error-message

forward error message to javascript error handler.  LGTM @chris-gc