Working towards fixing ApeScript

ApeScript seems to have been broken through the 64 bit conversion.
Working to fix it.