Changing to use the Blood Magic API
Fixing crash when old version of AM2 is present