added some niceties to main Activity