Fixed panels appearing when transitioning from smaller to larger image, misc code cleaning, removal, etc.