Fixes #128: "Bug when trying to run two scans in GUI"