dotcase: add screen on/off for case open/close

* some other minor cleanup and error handling
* history isnt so big here...it'll all be squashed into one
  once it goes live...

Change-Id: Iea20b08b16bf7276bbcb874326aac4f7fa4f5dfb