Fixed bug in help message code, fixed memory limit problem