no need for a Ui global anymore
removing a bunch of "//yes" and "//no" comments that I put in place during the refactoring
refactored a little bit the LiveCodeLab function that paints a random background
abstracted 'LiveCodeLabCore.AnimationLoop.animate();' in init.js into a cleaner  'LiveCodeLabCore.startAnimationLoop();'
abstracting the 'LiveCodeLabCore.DrawFunctionRunner.reinstateLastWorkingDrawFunction();' invocation in init.js into a clearer 'LiveCodeLabCore.runLastWorkingDrawFunction();'
buried "LiveCodeLabCore.GraphicsCommands.resetTheSpinThingy = true;" away from the init.js, no need for this behaviour to be visible at top level
the 'dozingOff' field is now directly in LiveCodelabCore, because there is a need to have that visible at top level.
removing unneeded commented-out line in init.js
initialisation/hooking up of the backgroundCanvas is now moved inside LiveCodeLabCore
added some commented-out debugging lines to events.js. Could be useful in the future.
the loading of the sounds is not exposed more cleanly to the top level init function
minor renaming of urlRouter method
playing of the startup sound is now exposed nicely
'LiveCodeLabCore.isAudioSupported' exposed at top level
LiveCodeLabCore.updateCode moved into the proper LiveCodeLabCore file
minor formatting improvement
stats widget now only appears when there is a program working stably. This avoids it flashing shortly when livecodelab wakes up for one frame when the editor content changes, and the it goes immeditely to sleep because the user typed "b"
minor polishing of a comment gone astray
some pretty printing of the init file. Not perfect, but looking promising.
some more polishing of init.js