Fixed potential crash on startup

In the case where the FileLogger fails to compress the logfile it tries to call ISMain.log which in turn tries ISMain.getInstance().channelManager != null which throws a NullPointerException if the instance is null as it is when debugHeader() is called.