application: optional signsls handling
application: fixed assertion in _respawn_threads()
Merge pull request #5 from mdevaev/signals-handling

Signals handling