Fixed JSON and LUA saving
Tweaks in OTBM saving
Added --grayscale parameter
Added some new functions to Map class
Tweaks and fixes