Problem with GRX program termination on windows XP?