Feature/fix for supervisor

WIP. I'm still doing final testing, there might be more problems.
Does that mean you intend to leave this `config.mgmt_port = false` == `config.mgmt_port = 8126` behaviour?