Fixed some GUI problems.