Cleanup command parsing logic
Increase read buffer

We're getting a lot more text now, what with the mouse click commands.
This took longer to debug than it should have.