Cleaned up Main and Map Activities and AI Jitter

- Fixed AI Jittering in bad GPS locations
- Cleaned up code in main and map activities (beware of unforeseen bugs)