bugfix "cancel" button
extended model by "expert-mode" button
added check to avoid mixture of r-script and pig scripts within low-level component definition (client-side)