Gallery improvements

Had some spare time on a trip: Various layout improvements, fixes of overlapping text etc.

Feel free to review and merge.