Updated/commented messages to deal with gui