support a few command line args
make it work on Windows 7 (and maybe WinCE)