Minor bug fixes: a case of free()ing in the wrong order. (from Rick Murphey). processing alias symbol twice (sometimes). Some miscellaneous cleanup.