moving management of maps to a QAbstractListModel, still buggy.