trivial changes

set name in cMessage constructor
removed unneccessary check_and_casts
rstp: uses enum instead string compare for self messages