Lazy import for pkg_resources, datetime, signal, json, glob, SimpleHTTPServer, SocketServer
Hide stderr for browser process.