DrawPane: comment temp trash. Triangle: added some functions.