Fixed sql issues with the name table. GUI can now rename ROIS