Add reload and die functions
Merge pull request #246 from rootcoma/logging

Add reload and die functions