Fixed issue with states not properly being added to styleguide object an...

...d added fixed up template and default css some more