A slightly updated version of my dissertation (correcting some typos and formatting issues) can be found here.