Partially implement anti-speed-hack detection, fix NPE in deadlock detector

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