Removed few empty lines.
Implemented acknowledgement of events reported by client.