Cleanup and remove copy locals for LibG.
Add the assembly resolver, namespace cleanup, and dead using removals.