Pure immediate mode example program. In pure immediate mode, the
renderer must be stopped on the Canvas being rendered into. In our
example, this is done immediately after the canvas is created. A
separate thread is started up to do the immediate mode rendering.