#39 added `wp_query` checker

- the is_404 checks if the `wp_query` var is already defined. Also
added this is 404 check of the spinner.