Working on keyboard handling, escape to exit working, arrows not working yet.