Fix completion of "%" as the current filename.
Remove all margins for the entry buffer, and simplify the code by using one of them
to display the prompt (removing any prompt length offsets).
Fix :w completion, which accidentally went missing.