Fanfare, golf and boos have marked July Fourth for US presid