Z-Machine Version now stored in a global

Rather than having the interpreter pull the data from the memory array
every single time it is needed, the first time it's asked for we put it
in a global, and subsequent time we just check the global. Hopefully
this will speed things up a bit?
Cleaned out some old unused code