factor 'source view' into tk-source, light reformatting