Cleaning up ui on the map to enable scrolling messages. Minor refactors on dasboard.js