Fixed wait spinner.
Removed some debug code.