Replace Highlight_unwanted_spaces function with bad-whitespace plug-in.