Made some progress in getting the customized 3.5 uploader to work without the gallery menu.