Improved network error handling
Moved workgorup methods used by events, queues, locks and managers to their classes, added Workgroup.sendRequest as a single point for sending orders