fixed local ip address lookup for target setting
fixed inproper closing of mux and frontend status reset