Added controls on style table consistency and named style validity