tossed all settings into a config object and cleaned some stuff up. Also fixed the iOS 5.1 disappearing scope bug