A general comment: why are you maintaining layout code that is bundled to the DQM GUI inside CMSSW? this will never ever make it into production, unless you submit it using the official procedures. There is no need to keep a copy here too.