Remove * imports. Fix several pylint errors.