fixes some bugs with eoo, however introduces some bad loop logic which will need correcting
Merge pull request #24 from kevinquinnyo/fix-eoo-bug

fixes some bugs with eoo, however introduces some bad loop logic which w...