FIX: startup crash when no textfile is specified and pattern is added