EXPERIMENTAL: Added events for OFFLINE and BACKBUTTON. Haven't tested it, but power is going crazy, and I'm afraid of losing this.