Fix problem w/ heavy spinning animations when updating (issue #373).

Updates the appropriate flag immediately after the folder refresh is done.
Various optimizations of folders’ NSProgressIndicator
Merge pull request #378 from barijaona/bugfixes

Fix issue #373