Fixed an index-out-of-range error in MainWindow::timerEvent
TextDb can now be loaded correctly.
Fix: an index-out-of-range error in InputMethod::processGrouping