Add footer.

Also:
A lot of fine tuning and fixes.