CHANGELOG:
* fixed some bugs;
* code improvement;