Make the stack trace appear again.

Add names to funcvals
Fix comment bug in file without trailing newline.
Fix minor bugs.

Free some more stuff.
Fix freeValue(NULL) bug.
Remove useless funcnames variable and related statements.