Restore error log to the right spot. Delegate callback is still broken, though.