1) Fixed window centering to be more explicit on windows and linux