Add deinitialize methods to scripts that need to unsubscribe from messages.
KDHUDElement: replace on_end_script with deinitialize.
KDSubtitled: replace destructor and on_end_script with deinitialize.
Explicitly name duration and curve parameters for scripts with transitions.