added variable for sanity
Removed code from examples and added arrays for resources.
Added version info. Removed unused code. Changed texts to use arrays when writing.
Removed reference to game.js. Added debug.information.
Removed unused code.