segfault fix in config-parsing

I get segfault when parsing my ts.conf file if a white-space was left at the beginning of the row.
This patch discards empty tokens when parsing the configfile (ts.conf). This prevents segfault if whitespace is left at beginning of a line and makes the config parsing a bit more forgiving.