Merge pull request #9 from ThePhD/master

More VC++ compatibility, some features, and some warning supression for GCC.