Switched button group to use new Dropdown class and made some formatting adjustments to mapinput.js.