Adding some raytracing for debugging purposes. Now when an object is clicked it is logged to the console.