Removed unused variables and modules
Attach spinner to loading window
LoadingOverlay does not require target for construction
Remove overlay after each test