Base dlg for mg-comm.
lib: ChartCtrl
DEBUG MODE with console.