add two functions that can be used to make sure what type of number is stored in options
remember main map zoomlevel and restore it on startup