create new widget, ace code editor support, cleanup