Adding object for global interpreter scope
Updating scope object to be a class
Global scope object adds functions to window

Currently we want global functions to be truly global
Creating global scope object in lcl core
Matric and graphics commands now added to scope object
Using scope object to handle more globals
functions don't need to be added to window in bg painter
Defaults for bg painter don't need to be colours

Background Painter expected the colour variables to already be globally
available at construction, but really this isn't needed
Colour Literals now crated in live code lab core

literal values added to global namespace via scope object
BG painter functions now actually added to scope
AnimationStyle functions/variables added to scope
Connections functions now added to scope
Sound System adds functions to scope
Colour Functions now added to scope
Adding animation and time variables/functions to scope
Fixing names of addToScope functions
Adding doOnce to global scope
Removing globally called functions/variables
Removing leftovers from rebasing
Fixing a few more issues after big rebase