small fixes
small fix
detectHostNames is only being called once now
improve RuntimeTab behaviour when not both long/short names can be used