Ranju's changes to pdf display, comments for future ref