BF: Fixed keypress duration error and affiliated freekey bug.