Fixed line/col mixup in LineCol.
Added w command for writing content to current or given filename.
Corrected filename use for w command with no arguments.