Finshed init for sender.cpp and fixed msg.h warning