TWEAK: change ERROR to PanicHandler which lets you override it

Rename ERROR to PanicHandler, which responds to Panic() and by default logs to stderr. This lets more sophisticated applications trap Panics and route them to the appropriate logs.