remove unnessary internal variables, parameters; use wxVector replace c++ array; enable implemented function parameter