Both of these experiments/demonstrations CAN be done safely, but in all things ya gotta know what you're doing. I've performed the sodium experment dozens of times (but not on that scale, I'm very jealous). I've not done Thermite myself, but have supervised students performing the demo for various chemistry shows.