Changed ArrayLists to List<T> and removed List<T>.Remove from foreach.
Merge remote-tracking branch 'origin/develop'