some corrections to the gui stuff in pyramidffa