first attempt at --daemonize option (including redirect stderr/stdout to log file)