Fixed vehicles not removed in side pane when server disconnects, added logic to support hiding the map menus when sidebar is shown
new preShowSidebarFn to execute before the sidebar is shown
added hideMenus() to consolidate hiding of menus and to expose ability to hide the menus - needed for when side panes are used