Added checks on open/save to prevent user from using map.png