a lot of fidgeting.

for some reason union wasnt quite working for just 2 tables. in fixing
this I also fixed the "extra lines" bug we had where things would have a
bunch of extra null elements.