those kixtart ending without any error or anything... those thingies are weird.

there clearly are some exceptions which ruud and MS hasn't trapped.
and then the incorrect parameter makes no sense.
those errors are the outcome of the previous, untrapped error conditions.
doesn't hurt much with this type of script but is really painfull with more complex stuff.