Take out window.app dependency and use filter() in update loop

This working probably is a sign of a leaking global (`i` ?)
Merge pull request #1 from codingcampbell/fix-missing-creatures

Take out window.app dependency and use filter() in update loop