Added WPF theme support
Bug fix to prevent Ctrl+X deleting content in rich text box