Add ERROR to printf errors
Makefiles for our standalone lib and the tests

the libqthreads will be located in lib/
Fix the argument matching problems