Do something at the end of the program that stops it from closing? Perhaps read something from the console?

--
Mats