access to mutable variable from closure was fixed. Code style was updated.
wrong using of setInterval was fixed.
Merge pull request #2 from valery-barysok/reap

reap