fix failing autocompilation with empty static directories

sorry @moschlar, the `chain(*map` idea survived as you unfortunately can
not evaluate `max([])`.
summarize filter accepts <!-- more --> also as break keyword
typos and dead code