updated gallery stuff, in progress