Move edit button into the top header of a message.

Fixes #47.