Small improvements to gallery and stylesheet