Made server address and port for display a global variable (in main.js).