Fixed checkbox behaviour.  Added some shader settings.