Fixed a couple of bugs in the scripting interface, added a view API that lets you control the views and cameras and such, and various other scripting-related things.