Added the option to delete control points from the list on the left side. Some minor refactorings.