Added SNMP refresh, and set first port buttons for switch devices.  Also corrected a bug in the port lookup code that was endlessly creating new ports with devid of 0.  #191