Going public sounds exciting—and it is. But behind the headlines and valuation numbers, an IPO is mostly about structure, ...