remove unnecessary message size debug output
cleanup imports, new style class