Fix basic windows functionality.