Made rough functions defining lower level buffer behavoir, debugging them all now