new communication functions
set MessageID to front
Merge pull request #10 from corrado72/master

gui communication