fixed getall/getnext, added message sizing