Added a few bugfixes, still not loading the stylesheets for some reason.