modified cleanup routines to allow more purify.. Rev: src/array.c:1.5 Rev: src/main.c:1.13 Rev: src/mapping.c:1.9