Move some settings to base.py and rename them
Revert some argument and variable name changes
Fix bindbuild (I'm not sure how it broke)
Fix incorrect variable names
Fix a faulty import
Remove useless code
Fix some misspelled variables in commments