added load/save config support and arithmetic Middle output of printed charts