Renaming 'stopped' event to 'close' (issue #16).