Fixing bugs related to invalid buffers and updating the viewer.
Fixing bugs related to invalid buffers and updating the viewer.

csantosbh/gdb-imagewatch,csantosbh/gdb-imagewatch,csantosbh/gdb-imagewatch,csantosbh/gdb-imagewatch,csantosbh/gdb-imagewatch