Set up image multi-threading, caching

Also, refactor for Xcode 6.1