Clean up include/exclude filter creation in dotlink
Change several intermediate variable names for clarity in dotlink
Add comments to dotlink