add IFDEF for WIN32, calling the correct sleep function. Fixes #99
Replace leftover api::daqProblem calls with catching the correct exception.