Fix BVersion; improve BCodeEditor