Updated version to 3.1
Changed so module assemblies that aren't loaded aren't reported as errors.
Fix null reference error.