Integrating some functionality with GUI, starting with buttons.