Expose write method.

Make the write method accessible, and allow it to take no arguments.  So we can force a redraw.