Made Parallel.For cancellable
Created EnumExtensions.HasFlag()