finished gui, working. more testing needed.