further progress on the gui including a rewrite of the input handler