Panel and ProjectGallery bug fixes.