added popovers and text field fuctionality to the GUI