Fixed some problems with betting system to make it cleaner.