fix error messages
update
added fork to moniter memory usage