Refactoring! Ripped out hundreds of lines from MainPanel and MapPanel. Still at 50% coverage, but definitely more testable.