lint: various

- fix linting issues in core
- remove debugging

Impact: low