Removed the strtonum function in Gprint.
fixed the return value of the Gremove function