- Remove pointless filehandler declaration in newLogger().
- Use diamond expression in declarations.
- Use diamond operator.
- Remove legacy type handling when initializing knownDownloads.