Implemented track selection via clicking in the GLWidget.