Stream: simplified vm events handling.

No functional changes.
1 file changed