tmx2bin now optimizes the level file. Minor changes to main.c