Added GUI and changed keypress dealings to string.