Fix up console output so it actually works.
Improve simple test app a tiny bit