mfreerdp: cleanup and start implementing desktop resizing