Sending/receiving messages through GUI