Fix keyboard handling: Release wasn't handled, and repeat was not supposed to be tracked.