Now counter for 'for' block drops to 0.
Removed modules InterfaceJSTree and CommandsMode. Cleaned up ModesConversion.