Fix missing assembly references, graphics, and namespaces