fixed the bug with the popup menus
remove other people's code from bugfix
changed colour for final vertices, and width of the outline for selected vertices