Random GDI patterns

This test paints random GDI commands to the primary buffer, unlocking and displaying it after each command.
On some systems, this may be slow due to the method GDI access is currently implemented.