fixes in clipboard handling; Windows:client_to_frame()