updated mainwindow for receiving data from multiple monitors