fixed multiple windows and gtk version mismatch in ui