windows related fixes, updates and additions