updates for DOSEMU keyboard grab and Apple Aluminum keyboard