debugging problems with template loading for voice_casting and some minor tweaks.