Fix use of separator magic
Replace space with underscore for class names
Bind links
Fix css for new type header layout
Fix history states