configuration and event handling tweaks
protocol parser draft