No empty CBN
Empty code block node deletion with undo
Setting of preview variable
Merge pull request #801 from ambarish-prakash/CBNUndo

CBN changes