Modified to go through a connection view before the panel. This is maybe
not the best solution but it works for now. I will think about a better
way. The settings panel now has host namd and ip address.