Full linting pass, only a few fixmes left until #11