More code cleanup.

- Removed headers where not needed.
- GlobalLogger now creates an instance of Logger instead of itself.