Changes to scripting
added script component -- connects events with lua functions
new interface for scripting, much easier to get vars and call functions