Removed useless function, and added a debug output function.
Made debug output go to Sublime Text debug console.
Added debug map.
Removed old maps file.
Added automatic asset loader, and map loader.