wp_title in wp_head action and other cleanups