Brilliant Ryan... 

Was wondering why the code kept crashing with the exe file. You managed to go one out of the array which also seems to have screwed up a couple other things.
Merge pull request #1 from rWolstenholme/master

Merge change