some fixes of gui
Merge remote-tracking branch 'origin/master'