refactor cmd_buffer to use a static buffer instead of a dynamic string stream. update example to use add_text() instead of stream operators. removed need for cmd_buffer::clear_buffer() as cmd_buffer::execute_buffer() will consume the buffer as it reads strings.