Replaced plain C assert with our superb AMAssert.