You can practice all the safety in the world, gear, lid, riding courses, smart-common sense driving, and even then shiet can still happen. But then again, you can fall off the curb coming out your front door too.
So just keep on riding, be smart, be safe, and most of all, don't be squidly.