Bug 1042319 - [Gallery] WIP patch of update gallery edit UI and visuals

Agreed, its much simpler to maintain single state object for applying edit settings and reverting back to previous state on cancel.