Improve deadlock detector to give more detailed information for all threads, and full stack traces

Signed-off-by: Ross Allan <rallanpcl@gmail.com>