started porting nh test example over from QG

I really should update these old libs.
Something strange going on with sqlite dll aswell.