RemoveLibrary now polls until the cancelled scan goroutine finishes before proceeding with the removal transaction. Also show removal errors as toast messages instead of only logging to console, and explicitly reload library list after successful removal.