Fixed a couple of bugs in NetworkViewer and provided performance enhancement for UI.