Bugfixes and improvements in Windows installer