cleanup
layer generic functions
use ruby's casecmps
slight fixes
texas with a nodata flag set