Redesigned the workflow of the gui. Operations can now be cancelled.