Stability/reorg work

* Added alternatives to ProgressDialog for reporting progress (no more crashes on rotation)
* Moved Gallery code into a Fragment
* Various other changes