OSL: properly handle events on inherited properties; only send one copy of a ThiefLib-generated message to each listening object.
Script: add deinitialize virtual method and call it from the dtor and on "EndScript".
Object: add Set typedef.