put back the old uteams cleanup, leaks and all, to worry about post-release since my attempt to use DeleteGear was running into the fact that that procedure does way more than just delete a gear. might need an explicit cleanup routine for both to call.
void fpcrtl_halt(int num) {
__coverity_panic__();
}
int fpcrtl_abs(int num) {
return num >= 0 ? num : -num;
}