Fix Xcode 6 compiler and run-time warnings
Fix thumbnail download blocking