fixed some overflowbuffer-related bugs and started prepping for even simpler buffer management for when I start properly emulating the smp core