Changes made for Windows compatibility

I had to make some tweaks to get it to work on my Windows box.  Once again, great work.

![spyder](https://f.cloud.github.com/assets/2096628/1460393/07a45242-4432-11e3-9060-72f7a50f01ed.png)