Cleanup gallocs, gfree and buffer overruns in help() routine