beginnings of historicView support, bugfixes