Add the console to the main/graph ui.

Every graph has now two tabs, the actual graph and a console.
Only the active tab gets reloaded, so you can use it like the console endpoint.