Fixed a NULL ptr failure in GridStructGen.

When the descendant generator returned a NULL structure, the generator would crash. Now it uses a special cEmptyStructure class instead.