Wrapped adding signal handler in an eval
state scalar variable for Perl 5.10 compat
Added minimum version requirements to deps