Added some functionality to the main window.

You can now press buttons, slide the slider, and a few other things.