Update for WP 3.7 and 3.8

These changes fix some PHP errors and syntax changes that are caught in newer versions of Wordpress.

Commit 2506af0 adds some CSS to the footer to make it more customizable.