commented out debug event calls in message handler