Solved GC problems with Undo.