[ok] Ctrl-C works correctly, HUP too. No hangs.

Correct way to handle signals.
Tested on linux (debian).
Removed debug about done installing signal handler
windows fix for signal handler
Various tests
[fix] added missing include for abort()
[fix] __FUNCTION__ missing in OTPassword linux
[fix] more changes szFunc to __FUNCTION__ (linux)
[wip] working on the runnable for pid locks
[fix] linux no io.h just use unistd.h for write()