Added some methods to the display window.
Separated GUI and signal-related functions in two classes.
Connected the interface and the signal controller.