GUI: fix masks and projections
Fixed issues with mask and projection removal, moving up and down in the stack.
Fixed issues with switching between data in "Mask" and "Projection" modes.
Removes the use of SessionItem
-based serialization for DataItem
.
Edited by Mikhail Svechnikov