Print errors while preloading app to correct TTY

Fixes #171