Some console related bug fixes

The console caching fix should come in handy for verbose_logging and looking at why some of the test games are falling over.

The change in the editor stops chrome from complaining that consolePrint is not defined when it loads buildStandalone.js