String.isEmpty() where useful, log cleanup