Added asynchronous asset loading and related state.