* gridw have been replaced with imageWidth and mapWidth, same with gridh
+ save and load map
fixed mouse in mapArea
fixed line end to windows