Added scenes support.

events: fix some event handling.