EditDialog: Use Monospace font in text editor
EditDialog: Fix text editor when NULL chars are typed in hex editor

When using the hex editor widget of the Edit Dialog to insert a NULL
character and then changing to the text editor without saving and
reopening the window first lead to the text being truncated at the NULL
character.