Bug 1097136 - [Gallery] Blank screen appears when opening Gallery when U...

...SB is connected
you can return this uninitialized, which works, but seems like bad practice. The var should be initialized to false, I think.

Should the end() method set it back to false? Does this module know that calling end will cause the app to exit? Or is that knowledge at the app level?