Fix output console flushing

Closes #70
Merge branch 'master' of github.com:mirage/mirage-platform