adding fix to controls.tcl to properly display all enabled tabs when some of the available tabs are disabled. this fix helps allow photonicsdb to dynamically display inputs for layers of materials while keeping the first and last tabs always enabled.
also included is an example which displays the bad behavior in previous versions of rappture as part of the buggy_xml series.