more compiler cleanup
builds
simplified deadlock detection, abort processing and releasing all locks