Change the event loop following discussion on #170
Only output about empty pulse lists if Debug is set