Fixing a few resource load issues.