new 'triangle' mode was added and old 'triangle' mode became 'auto'; minor bug fix