When using NGUITools.AddChild(); the project will not successfully build, because the '#if UNITY_EDITOR' is missing from before 'Unity.Undo.RegisterCreatedObjectUndo()' in one of the variations of the function. I fixed it, so now I'm unable to find where.
Also, when using Web Player, NGUITools produces a mysterious error during runtime if the Prefab Toolbar is open. Commenting out 'comp.SendMessage(funcName, SendMessageOptions.DontRequireReceiver);' stops the error, but prevents NGUI from rendering prefab icons. Closing the toolbar also prevents the error.