ScriptObject now looks for a default member for everything that it can not handle, meaning that scripts based on values now work.
made dependency analysis work without errors for magic-new (except for a few script functions); implemented the rest of the ScriptManager