Fix a crash during refresh

showUnreadCountOnApplicationIconAndWindowTitle must also be runned on the main thread.
Small optimization
GCD version of postNotificationOnMainThreadWithName
Merge pull request #346 from barijaona/bugfixes

Fix a crash, and optimize background refreshes

OK on SL 32bit and Yosemite