Fixed a bug with NBug/NBug.log

Signed-off-by: Algorithman <algorithman.chris@googlemail.com>