- Removed unused code.
- Now the viewports aren't updated (rendered) if they are not exposed (Qt).
- Removed some TODOs and FIXMEs.