Explicity start logger.
Write better traceback info.
Clearer argument checking.