Script Options buttons hooked up, more robust detection of scripts killed