config dump
debug and release builds
rework poll loop