Added betting, made some other slight changes