fix windows build
enable windows debugging in demo
add bus listener to minimal example