Add some logging to software trigger

--CAR
Add some windows specific ctrl-c catching

WARNING: this does not work and cannot work from MSYS2

--CAR