Code Cleanup and Enhancements Pdf TextEditor