Text this: Three essays on the effects of international trade