Custom Text in Media Uploader in a Theme Options Page

This is a short version of what I do in one of my plugins.
I copied this behavior from the plugin Advanced Custom Fields (some versions ago, donnow how it proceeds now).

1) When calling the thickbox, add a custom query var (mtt_type in this case):

tb_show('{$mtt_title}', 'media-upload.php?type=image&mtt_type=image&TB_iframe=true');

2) Print scripts in media-upload.php to modify the text. Code not tested:

add_action('admin_head-media-upload-popup','wpse_59984_script_enqueuer');

function wpse_59984_script_enqueuer() {
    if( !isset($_GET['mtt_type'] )
        return;

    // HIDE MANY ELEMENTS   
    ?>
        <style>
        #media-upload-header #sidemenu li#tab-type_url, tr.post_excerpt, tr.post_content, tr.url, tr.align, tr.image_alt, tr.post_title.form-required {display: none !important}
        }
        </style>
    <?php

    // REFRESH UPLOAD SCREEN EVERY HALF SECOND TO CHANGE THE BUTTON NAMES
    // Only happens in the Upload Tab
    $tab = isset( $_GET['tab'] ) ? $_GET['tab'] : "type";
    if ( 'type' == $tab ) 
        $refresh="var mtt_t = setInterval(function(){
            $("#media-items").each(setButtonNames); 
            $("p.savebutton").css("display", "none");
        }, 500);";
    else 
        $refresh="";

    // BUTTON NAME
    $select = __("Select Image", 'mtt');

    //CHANGE BUTTON NAMES
   ?>
        <script type="text/javascript">
        function setButtonNames() {
            jQuery(this).find('.savesend .button').val('{$select}');
        }
        jQuery(document).ready(function($){
            $('#media-items').each(setButtonNames);
            <?php echo $refresh; ?>
        });
        </script>
    <?php
}