Fixed several minor GUI bugs.