Made runSettingsSocket call interruptible on Windows.

This addresses issue #129 regarding runSettings thread becoming uninterruptible. I've used a simple MVar hack to make a runSettingsSocket function interruptible and removed #if WINDOWS block as proposed by joeyadams.