Fixed a few misnamed variables, Reset None for texture flags, must be

none not false.
used hasattr instead of try for setting tau and damping.