Global vars
Global vars 2
Manifest: Added too much. Fixed.
Relocated update code to AsyncTasks. Lots of changes.

Also renamed a bunch of vars