check for empty bufname (error handling)
lock status var
unknown name is [No Name]