superfast way to get data from Espruino - only have timeouts on error
whoops - fix regression
keep checking for ports
If not connected, pop up the connection dialog
Merge branch 'major_refactor' of https://github.com/mattbrailsford/EspruinoWebIDE into mattbrailsford-major_refactor

Conflicts:
	js/core/menuPortSelector.js
	js/core/send.js
	js/core/settingsFlasher.js
	unused/js/core/layout.js
fix regression
add ensureConnected for tutorial - and re-add stuff that got lost in the merge
Switched icon generator to set actual ID attribute, rather than data-id attribute