Three Essays on Immigration and Institutions