overlayContainer = useLayeredPane() ? new KongaLayeredPane() : null;
savePointDistances = new Stack<Integer>();
toolbarButtons = Lists.newArrayList();
toolbarPopupMenuActions = Lists.newArrayList();
includeCloseButton = true;
undoManager = new UndoManager();
editorPanel = new JPanel(new BorderLayout());
waitService = new ContainerWaitService(editorPanel);
undoService = new UndoServiceImpl(undoManager);
editorBorder = StyleSheet.GenericEditorPanelClass.getBorder();
}