-Fixed some subtle read-related bugs
-Removed extraneous functions
-Fixed some subtle read-related bugs -Removed extraneous functions