Improved Planet theme

We've made a number of improvements in the planet theme core files.