Added checks for header and site-top-menu classes. Removed error count print out.