Improvements in the fileAdd method, etc.
MainFrame::textChanged reimplemented.