xfreerdp: cleanup and fix RemoteApp