Changed logging (mostly to debug, few new ones).