Windows initialization fixes, tiny change from Adam Strzelecki <ono@java.pl>.