-Refactored; +Added frame statistics info.

Made minor refactoring. Added logging of parameters average value.