Improve output buffering architecture.
Improve characters tests for rcl parser.
Fix rcl parser.