in order to failonerror=false, you have to catch the error
fix versionID error for Flash Player.  Also clean up unused vars