improve PlotApp to better match wxmpl
better (slightly) match to wxMPL API