Use task file name if no title was set

... also fixed tab/spaces - check from line 19 for change.