Fix CSRF tokens, clean exit on KeyboardInterrupt, pep8 more.