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

Again, it looks like this is a pre-existing issue with the code, but it would be great to fix it here.