Move updater and thread stats into header.
Merge Zixaphir X
Race conditions.
Merge branch 'v3' of git://github.com/zixaphir/appchan-x