JButton e2 = new JButton("Clear");
e2.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
if (instance.getCurrentScene() != null){
instance.invokeLater(new Runnable() {
public void run() {
MTComponent[] ch = instance.getCurrentScene().getCanvas().getChildren();
for (int i = 0; i < ch.length; i++) {
MTComponent mtComponent = ch[i];
if (!(mtComponent instanceof MTOverlayContainer)){