added functionality to the GUI along with some basic input checking so the user can't enter total BS