footer fix

And a lot of cleaning things