Add startup notification to client.

And fix some flake8 warnings.