Filter text before sending to lcdproc

Filter text before sending to lcdproc, like C++ implementation before Gotham did.