fix the handling of skipEvents/maxEvents in DirectDriver
As pointed out by @devivie the rewrite of the DirectDriver introduced a bug in the handling of these debugging options. Fixed now (hopefully). At some point I should probably add a test for this as well.