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.
Merge pull request #11 from Deamon5550/patch-1

Fixed potential crash on startup