Switch to 64-bit hash, minor debugger stuff

This uses cityhash64 (which unfortunately means copying...), and tries to prevent the debugger shutdown crash.

Also added memchecks to at least the common memory copy operations, ifdef'd out on mobile to not impact perf (just in case.)

-[Unknown]