- cleanup array eof handling, improve data_readid/readnum