The knocking when the car is off just sounds like standard cooling off noise. I've never known a modern vehicle to not make some of this noise. As multiple parts that are hot (usually exhaust related) start to cool off, they contract at different rates. This contraction causes different peices to pop or creak.
I could run through a list of at least 30 cars that I have owned or worked on that do the same exact thing.