Got rid of a hard coded value which would break on 64 bit systems. Should now support 32 and 64 evenly.
Finally got 64 bit working correctly. Woot!