Added missing GenericInterface event handler for workorders.
Tidied code.