Fixed scrolling.
Was fooling around with scrolling.
Fixed horrible bug in the memory manager.