Messages are now unstick; fixes #291

Additionally, sessions are closed before page output. All is well with
the world. Cats and dogs no longer living together. Mass hysteria
averted.