Don't allow duplicate engine names in configuration

It's not pretty - to be cleaned up later...