A special thanks to JackWhiteIII for helping me fix the keyboard code!