Merge pull request #512 from JoesCat/master

a few minor things in uiutils.c
Merge pull request #513 from JoesCat/master

gallocs(), gfree() and buffer overflows in help() routine