cleaned up some worker and processing code
cleaned up has_attachable parts