bug fix... need to hold on to the bytes of the buffer, not the buffer itself.
Add support for invisible code references