keyboard in menu bug fix, some keyboard logic changes