Added console log when unrecognized key is pressed for easier debugging.