Fixed corners empty check. Some logging.