Show sync progress bar only when it's running for long.

Closes #66.