xfreerdp: fix xfi lifecycle and other crashers

should fix Issue #1185