Heavily refactored the code

* Added several changes in from Ben Fox-Moore for HTML Canvas output
* Added Timeouts to relinquish control to the UI thread occasionally,
and to give the appearance of faster output
* Renamed Default->Index
* Split the CSS into proper files
* Moved the binds into a proper method