Tidy up a bit and return 0 if invalid key combo pressed in nio_ascii_get

-Also improved speed slightly