Fixed issue with disappearing spinner (closes #22).