Input done. Fixed a bug in the TMX loader.