Cleanups/thread safety

Remove thread-unsafe HashPrint function.