Added some win32 RTAS code to help handle esc and return keys.