Fixed some bugs and added bet confirmation