Fixed reference header output in map2dat; made generic tilemap drawing function in tank_battle
Corrected indentation on lame_graphics
Added error handling for valid input files in img2dat; fixed reference table label name