Bug 1061215 - [Messages][Refactoring] Improve handling of remaining chars counter. r=schung

way easier like this, I don't know why I did this in 2 parts previously :)