Improve comments
Add Windows support (untested)
Improve PATH test