Fixed bugs that prevent VPServices from running on computers with non-English language settings

Also changed the wait timeout to 0, -1 is an invalid argument. For some reason it worked on Windows, but it doesn't work for me on Mac OS X.