Fix indentation.
Check for components access more carefully, closes #34
Normalize localStorage return values for undefined keys