Ability to show/hide minimap using the view menu, refactor