Move diff loading off the main thread