Revert "Load apps in a thread."

This reverts commit 88203b3631118d0e99ade0d977f9e9ed3568fa94.