Fixed issue with states not properly being added to styleguide object and added fixed up template and default css some more