Small fixes

Removed unnecessary uses.
Fixed RuntimeException in Output\File
Removed unnecessary RuntimeException in the Logger::setOutput() method.
Other little changes.