fixed issues converting keyboard scancodes; added code signing