Adding basic GUI functionality to let user input start and finish lines - everything is handled similar to the opencv gui drawing tutorial