added nicer printing of long messages