Removed the hacky pointer64 stuff.
Changed ifs to just go out of functions instead of hugging the whole function.