Initial support for GUI mode in Messenger class