Moved abort into PKP lib; fixed message reporting