Huge commit.

- Changed way renderers work
- Improve loglevel
- Minor tweaks
- Fix tests