First page Back Continue Last page Graphics
Excess work
Your code is doing things it doesn't need to do.
Example: file chooser in OPEN mode was building and populating the completion entry... which never gets shown.
How did I find it? Sysprof.
Solution: don't even create the entry in OPEN mode.