
- use nspr arena pools for stack frame allocation.

- replace malloc/strcpy/strcat with PR_smprintf/PR_snprintf_append or something similar.

- get sportsmodel integrated.
