Fixed some gui issues.