Change example in qs_lib_test.cpp, Cleanup code, fix qs_start()