Changed processing of old territory alerts.
Added footer.