Fixed a bug regarding row count selection

Moreover added two (initialize & initialized) new events and refactored
a bit