Cleaned up commented-out stuff.
Made joins[0] instruction in n..1 and n..m integrations an inner join-- more efficient since it cuts down on total number of things to check when doinng final populate.