Edit gallery info and misc fixes