fixed serialization and "Drawing" dialog
fixed "Calculate new data" dialog
fixed issue with multiple calculation