Replaced QVector and QMap by faster QStringList and QHash.