Vastly more thorough pointer consistency

As requested, a much more thorough check for pointer consistency. Has
yet to be finalized. (Or tested for that matter)