Another large commit: For the most part the map and legend work but it's really fricken slow due how I'm using it. I'll try to redo this using a different method and see if I can speed it up.  I'm making this commit incase I break something.
Ihave the map activity actually work persay, it's just stupid slow at this point which really sucks but!!!! It does work which is the point!