Footer stuff

Added functionality to footer. More tweaks to come in next commit.