removing flickering from fancymode evaluation, handling nonbreaking spaces in code