Core/Scripting: Improve boss Thekal script and misc cleanup.