Better error handling during daemon initialization
Refactored initialization code. - More detailed logging - Use exceptions to better propagate errors - Log signal type before shutdown
Refactored initialization code. - More detailed logging - Use exceptions to better propagate errors - Log signal type before shutdown