Disabled texturing - current solution eats too much memory. Ported UndoState helper objects to C++ with Objective C++ wrapper.