Improved contents of CTL 0x1102 packet
Added packet-queue logging capability
Fixed memory leaks
Flushing buffers for log files immediately