Console clearing in the middle of typing doesn’t quite work, actually. Commenting it out for now.
Made the console history ignore commands that are identical to the last command.
Trying to speed up the model and reduce garbage collection. Replacing Map<Int, T> with Array<T>; replacing List<T> with net.rezmason.ds.ShitList<T>. Also sped up PtrIterator.
Fixed a resize bug in UIBody.
Came up with a simpler cavity algo- though at the moment it allocates too much stuff.
Switching CavityRule algo from using Strings to using a munged pair of Ints. Allowing Pointer iterators to be reused.