Json text area and viewer

fixed text area for json, added a viewer, buttons are now fully
functional. Eraser does not erase json of the stroke that is erased