fixed "donotaskagainclosetotray" value not being loaded after restart
lowercased daemon name
cleanup