implemented a new way to show messages. Fixes #283