Remove unused variables.
Improve resizing of logos and flags.