Fixed deletion of a project M3 from the registry.
Fixed import and module name.
Added exception handling for getSourceLocation.