Added some code to analyze foreign keys. Does not do anything yet
Improved base handling in BaseSelectorAttribute
Saving over an existing entry now triggers an error
Avoid a crash when building debug diagram
Fixes: #2468 Incorrect syntax for core-fd-conf schema