cleanup
switch from std::cout to NQLog