Refactoring of background fill/stroke handling for Panel, so the background can be dynamically changed and both can be added on to (MS' TitledPanel)