Refactored statistics forms
Added connector events and small name refactoring
Code style fixes