Provides the gui related functionality.