GRX app termination bug (winXP) - disected and solved(?)