add more debuging information for sending keys to vbox, update #1006, update #698