incremental speed improvements
incremental memory and speed improvements
more fixes. Still more to do. Will probably remain unfinished. No time.