Fixed some security attributes.
Fixed incorrect same priority ordering on Dispatcher queue.