Fixes #734 No stylesheets showing up

Also fixes the indention issues

As mentioned in #734: There may be a better way.