Minor bugfixes and implementation of new logging events