Added actions to some buttons. Added a data template to the math ListBox.