Fixed minor parsing bugs in textMessage and an incorrect 'this' reference in messenger