updated keyPressRouter to be nicer.