Updating dependencies.

Updating dependencies with the latest versions of the packages.
More updates to dependencies.

Didn't call save when uninstalling, so some packages were not updated.
Refactored locations code to reopen connections. Fixed some bugs.
Updated browser libraries and changed over from live.
Minor renaming.