added new options to display first comic on home
sanitized the redirects for security
adjusted the foreach in the body_class