code cleanup
code cleanup
code cleanup
added overlay layer switcher functionality
added scale bar
todo++