Scenario generator pulled out to own object
It seems that canvas sometimes does not obtain itsown getContext method, if that happens, it is rerouted to HTMLCanvas.prototype