Prints CSRF Token, Referer, and URL to csv file now

Also, all debug information has been consolidated to one function.