clean up packages list
switch back to language level 7
fix locking not working/reading locked apps
Reorganized preferences and rewrote master switch