Make play buttons and sliders work

Could still use some refactoring, in order to make the GUI use an MVC pattern.