Implement partial support for Scenes.
Fixed deffered script execution.
Use correct class for mouse events.
Merge pull request #281 from tobeytailor/master

Fixes and partial implementation of Scene support.