Fix for issue #52

"InvalidOperationException whenever OnlinePlayers list changes". I
believe I fixed this by changing the foreach to a for loop and adding an
extra variable.
Also I formatted the document