Display progress in status bar.

Adds a little good old animated ASCII art progress indicator in the
status bar. Every time the thread handler callback is invoked, this code
does a little math to determine the direction and position of the status
indicator. When the thread completes its work, the status is cleared.