Added several utilities for handling event priorities.
Added a host of methods to multi threaded objects.  They still have
type errors because LockedActiveEvent isn't filled in.
Added list sorting code to multithreaded object.  Be careful: unclear if sorting in ascending or descending order.