moved isSimulating flag to SimWindow