Moved memory chunk alloc / seek code into memchunk.c