Updated code to avoid depricated PHP APIs. Removed unsavory PHP notices about stuff that is not actually going wrong.
More contributions fixes
Updated index to remove any mention of me.