Issue: Gallery and painting output fixes.