Messaging changed to use singleton.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>