Added basic GUI functionality.