Added a Preferences Tab, Changes to Graph and Location Tabs

+ Minor code cleanup and refactoring
+ Major changes to Graph tab for performance and memory usage
+ Addition of Preferences tab
+ Bug fixes
+ Addition of new Scheduler commands