get text-viewer demo compiling again
TODO for this branch