initial edits for Windows version of test timeout code (not fully working
yet)