Added untested Windows code for daemon stats