Terrain texture selection added.
Also scene bounding box is defined so that min and max values are fetched from the all loaded layers.
Some bug fixes here and there.