Added rudimentary conditional blocks and run-time flags for default shader programs.  Can do things like turn off second texture unit, etc.  This is just a sketch, and will likely evolve.