Triangle tool, needs bugfixes. Major bugfixes.