removed empty line
renaming types to string, since it only contains extensions of string
extracted constants
added program type frozen object
reordering lines for readability
width and height feel more natural to me
extracting default values
bios -> boot and program has a id now
fixing some jshint violations
extracting constant for default startup program
removing whitespace
using correct variable
some logging
extracting function resetScreen
made clear and context2d private
clearing screen with default color is part of resetting screen
extracted function initializeResizeHandler
extracted function startRepaintLoop
Measuring time after setting fields
Extracted constant default screen color