No longer depends on transfer_exactly(512)
Cleaned up unnecessary variables and extra buffers
Commented some functions