Made changes to a few files including adding callbacks to replace the redundant per-frame checking of pressed keys inside of the key-handling system