Message as layout

Let's render system messages with layouts for convenient overriding and simpler code.

Also, tests.