Tweak gallery/dashboard

There's so much duplication here.