Fixed some cleanup bugs. Rev: src/builtin.cmod:1.46 Rev: src/builtin_functions.c:1.382 Rev: src/main.c:1.128