Reworked a lot of the templates/styling/some functionality.