allow for more customization of header/footer
update for WP 3.7.1
more 3.7x fixes