templates: minor restructuring.
core/handlers: add default stage title.