Extended two-canvas example with setting of autoProxy states.

Also:
  - Cleaned up autoProxy test case
  - Enabled setting of autoProxy states prior to listener activation
  - Fixed problem with shader compilation before source loading in autoProxy