Revision control, history iterator, minor bugfixes.