#15 wet - PHP warnings from content spinner - fix

includes fixes for https://github.com/Link7/WPT/issues/15