cleanup & attempts to unit jinja globals with app_context_processors as macros do not have access to the latter