Fixed bug related to selection of keyframes, and adds popover window when double clicking keyframes
Removed debug code