added triangle and fixed some places socket events from other drawing would cause errors, added a few brute force edits