Move session auth key name to config file. Add shutdownHook to stop X server.