Subscribe to selection events
Clean up main graph