Fixed console output on Windows

Console messages are now displayed in real time

Refs #105