Some operations were doing things in 16-byte blocks. Adjust some buffer sizes to allow for this. Also remove a global.