Consolidated worker hostname/hosts updates to init. Improved error handling.