cleans up maps and display controller