Small changes to Gallery