Adds doctor command and improve listing

This is a simple command to be able to debug some stuff without so much struggle.
It also adds some more information to the `list` so it can be helpful as well.