Added close tag auto-completion. Fixed bugs with brace matcher and formatter.