fixed compatibility with Nette 2.2/Tracy; fixed exception logging