some improvements to GUI