Improve BAbstractFileType; fix BLineNumberWidget