Changed GUI statements for ease of reading.