Rewrote the theme system.