Update refs to new code hosting on github
Fix always crash on non-Win platforms (issue #54)

Kindly reported, with a fix and plenty of patience,
by Matthew McCormick.