Book editor progress. Added some missing functions to the scripting environment.