Adding isset checks to reduce undefined index errors

Fixed numerous PHP Notices of "Undefined index" by checking if the value has been previously set. Most of these revolved around $_COOKIE [ index ].
Merge pull request #7 from jgraup/master

Adding isset checks to reduce undefined index errors