Bugfixes (thanks to ChrisB):
- strange delays are gone now
- Device number is now correctly detected with MS stack

@Samb: I've already done so, no need to laugh.