848625 - cleaned up formatting, fixed 2 new issues in gallery edit