* server.py: New modeline for Python and Emacs. Set a logging format. (Client.__init__): Bug fix: Choose either the value from the options object or pass the argument through string_to_delta for both "timeout" and "interval". (Client.checker_callback): Bug fix: Do not log spurious "Checker for <foo> failed" messages. (Client.start_checker): Moved "Starting checker" log message down to just before actually starting the subprocess. Do not redirect the subprocesses' stdout to a pipe. (peer_certificate, fingerprint): Added docstrings. (entry_group_state_changed): Call "killme()" instead of "main_loop.quit()". (daemon, killme): New functions. (exitstatus, main_loop_started): New global variables. (__main__): Removed the "--cert", "--key", "--ca", and "--crl" options. Removed the sleep command from the default checker. Add a console logger in debug mode. Call "killme()" instead of "main_loop.quit()" when there are no more clients. Call "daemon()" if not in debug mode. Register "cleanup()" to run at exit. Ignore some signals. Catch DBusException to detect another running server and exit cleanly. Exit with "exitstatus". (cleanup): New function.