Fixing main, index, and some css stuff.