Pull loading animation out of tick handler.
Removed redundant stale logic (always shows an error anyway)
Space after 'if'.