Reformatting some keyboard handler stuff so we can start using the keyboard a bit more.