Add LOG_INSETS.
Organize code.