Finished terrain select -> table generation logic.  Fixed tooltips.