Code clean up.

Also moved ```zp_apply_filter('theme_head')``` to end of head section.