Created an instancing system, also various stability improvements to
other systems.