codeview: misc tweaks