Converted GUI creation to .ui file.