Active-D: and girthy.

And add some debugging helpers and messages (disabled with final static bool ATM)
Flip on debugging temporarily
Prevent the proximity sensor from double-tapping when waking the device.
Reduce the threshold below which the phone is declared to be in a pocket.

Change-Id: I0c38bf33e0461a4b0b014f505e7d3db66f3af344