Use Notifications for sync clearing. Fix ajax .onerror firing twice. Fix chrome manifest.