Added error catches to lumber daemon
Added licences to some files, and fixed bug in argument processing