Updated to Nette 2.2, fixed some bugs