Update tested up to version.
Prevent setcookie() if headers were already sent.
Update inline docs.