added quick dirty next functionality... i'll optimize it later to get back more memory for the buffers. or probably won't ;P