Fixed up some stuff but I really really need to rework how the templating for everything works. Major overhaul incoming.