Mostly working rotating, need to figure out gallery and progress dialog