GUI -- Fix default host type (back to endstation)
reduced pane delays to 500ms

Change-Id: Id1ac1991894d4ece1edfaef6ee5a5b217f8860f1
diff --git a/web/gui/src/main/webapp/feedback.js b/web/gui/src/main/webapp/feedback.js
index 03324b2..7cebdc1 100644
--- a/web/gui/src/main/webapp/feedback.js
+++ b/web/gui/src/main/webapp/feedback.js
@@ -32,7 +32,7 @@
     // Config variables
     var w = '100%',
         h = 200,
-        fade = 750,
+        fade = 500,
         showFor = 2000,
         vb = '-200 -' + (h/2) + ' 400 ' + h,
         xpad = 20,
diff --git a/web/gui/src/main/webapp/keymap.js b/web/gui/src/main/webapp/keymap.js
index 0c75d4c..85f2539 100644
--- a/web/gui/src/main/webapp/keymap.js
+++ b/web/gui/src/main/webapp/keymap.js
@@ -32,7 +32,7 @@
     // Config variables
     var w = '100%',
         h = '80%',
-        fade = 750,
+        fade = 500,
         vb = '-220 -220 440 440',
         paneW = 400,
         paneH = 340,
diff --git a/web/gui/src/main/webapp/topo2.js b/web/gui/src/main/webapp/topo2.js
index 998eccc..b838112 100644
--- a/web/gui/src/main/webapp/topo2.js
+++ b/web/gui/src/main/webapp/topo2.js
@@ -175,6 +175,8 @@
         },
         webSock,
         sid = 0,
+        deviceLabelCount = 2,
+        hostLabelCount = 2,
         deviceLabelIndex = 0,
         hostLabelIndex = 0,
         selections = {},
@@ -355,7 +357,7 @@
 
     var layerLookup = {
         host: {
-            host: 'pkt', // default, if host event does not define type
+            endstation: 'pkt', // default, if host event does not define type
             router:     'pkt',
             bgpSpeaker: 'pkt'
         },
@@ -1241,12 +1243,6 @@
         node.class = 'device';
         node.svgClass = device.online ? svgCls + ' online' : svgCls;
         positionNode(node);
-
-        // cache label array length
-        // TODO: need a uiConfig event from the server to set things
-        // like device labels count, host labels count, etc.
-        // The current method (here) is a little fragile
-        network.deviceLabelCount = device.labels.length;
         return node;
     }
 
@@ -1257,13 +1253,10 @@
         // Augment as needed...
         node.class = 'host';
         if (!node.type) {
-            node.type = 'host';
+            node.type = 'endstation';
         }
         node.svgClass = 'node host ' + node.type;
         positionNode(node);
-
-        // cache label array length
-        network.hostLabelCount = host.labels.length;
         return node;
     }