Correct issues in list code
Exported runQ and freelist