added support for in-memory history. UI doesn't completely support this, only the first build is visible