Clean up layout and time formatting

Also abstract type selectors
Update config to new code highlighter, remove dev files