Refactoring: reduced complexity of DefaultStyleManager's methods.
Refactoring: reading of style XML files now more robust.