Modified mainwindow and started implementing InfoPanel