More doc viewer edits