Color brackets by nesting depth, highlight the pair at the cursor and mark unmatched brackets in red.