Added argument handling to memfill and procloop.