FIX: SEGV on termination when XPCE running