source: rewrote texture gen code to parse the directories ina  simpler manner. Same basic ideaapplies: find extension of filename within the directory and append it to the texPath (since the texture names are without extensions). Also improved frustum culling.
source: did a little cleaning. RE: last commit - frustum may still need some work, particular in dealing with the proper operations in a right-handed coordinate system for the z-axis for the max/min points. Also dealing with a SIGSEGV in the texture loading code: an invalid directory somehow get's loaded. Needs investigating.