Fix: various small improvements.
Allow profiles with the same name.