adding a removePoint method, which can also take a negative index to start removing vertices from the end. actual fix for #7628 was to not remove the last node, but the one before that.