Added the world variable to the key listener.