Cleanup QT PI parser.

cleanup on console demo
[DOC] Some more documentation