Using a loop to prevent a program from closing? Help greatly appreciated :)

Printable View