added styles, added some button handlers