Add modeswitch m_anonymous_proc.

Restrict usage of anonymous functions by new modeswitch. Currently disabled for all modes.