Force rendering before we dispatch any event

This is so that the event path will be correct when the event is dispatched.
Merge pull request #129 from arv/render-on-dispatch

Force rendering before we dispatch any event
fix tools path
readd tools submodule