Mega bug fixes!
Mega bug fixes!

WisdomWolf/rdpwrap,tw3294/rdp,chenshiyang/rdpwrap,WisdomWolf/rdpwrap,tw3294/rdp,lmcro/rdpwrap,lmcro/rdpwrap,tw3294/rdp,chenshiyang/rdpwrap,stascorp/rdpwrap,stascorp/rdpwrap