* Fix unsoundness in windows backend * Synchronize window state properly * update changelog and add a comment to execute_in_thread * Formatting fixes and improve changelog message