Do not reexecute invalid event hooks.

This only applies to errors that happened during command expansion.
Program errors, such as failure to execute the program are ignored.

New functions for handling session_data structure.

If program is killed, exit with signal number.

Changelog added!