Output in console app now writes to the file once per run instead of for each sentence making it a lot faster.
Wrapped the random number output in an if DEBUG check to ensure it doesn't run in release mode.