SoundCenSe is not currently compatible with Dwarf Fortress 64-bit on Windows.
You are using Process.MainModule to identify and get the path to Dwarf Fortress and its log files, but this property is not available from a 32-bit process to a 64-bit process. Normally it would throw an exception, but in this case it is buried in a try/catch that assumes all errors mean Dwarf Fortress closed, so it swallows them silently.
I thought you would want to know that SoundCenSe is not compatible with 64-bit Dwarf Fortress and why, if you did not already.