Added more functionality and GUI.