On the meaning of the upside down flag: Hank Deerfield (Tommy Lee Jones) in In the Valley of Elah (2007) says:
It’s an international distress signal….It means we’re in a whole lot of trouble so come save our asses ’cause we ain’t got a prayer in hell of saving it ourselves.