Having issues with GUI while loops

Printable View