Small cleanups for monitoring graphs. Add license (fixes #27)