Group spawn event handling, code cleanup
Update deps
Merge branch '0.2'