Update for newer versions of the SDK, and fix observer leak in add-on manager ChromeMod.
Fix timer issue, and general code cleanup.