new gallery and minor other fixes