[PATCH] wordpad: Make the Replace function work and the Find/Replace dialogs behave like expected.