Fix indention issues.

Two tabs since it's inside a function call inside an if.
Add a global notify handler for logging.