Added a method to (hopefully) bind a key listener to the TextEntryPanel