Reworked Home page.

Fixed some things that didn't work and removed dead code.