bug fix.

wrong text formatting fixed. checking for empty channel changed to
isempty() rather than check foe '/' that fails on windows