basic layer selector functionality works
mainly ui tweaks and fixes