Windows support, replaces PR #460

This PR takes Mike's original PR #460 and updates it for the 0.5 codeline. Mojito starts ok but there is still a problem with the combo static handler, visible in the newsboxes app.