Some minor additions and mods.
Added comments. Minor mods.
Fixed camera issues: screen off and back from viewPhoto.