Improve custom entry editor, use page width.

Should improve #142