Substructures and characterizations of finite generalized polygons