Fixed a segfault if you leftclick on the map without a map available.
Found and fixed the code that prevented my tileset from loading.
Couple of fixes in the JSON code.
JSON bug fixes
Modified stuff such that the editor and the engine are now built by the same Makefile.
Removed some debugging and dead code from the json module and fixed a memory leak.
Removed debugging code from the tileset module.
Fixed the Makefile (got caught by a stray \t).
Removed the ./editor/Makefile