bugfixes, slightly better API
tooltip support for graphs, minor formatting