Rdp control

Almost certainly not ready to merge yet, but I'm putting it here to gather opinions.