changed brace highlight behaviour; updated tgdi