Merge pull request #481 from stowellm/ms474

Fixed Jeremy's dealloc bug for locationManager
Edit data unavailable for automatic, main UI for automatic states on session name is necessary, ime option consistency, NPE caught for SD card writing, delete data set availability at time of upload