Rewrote auto-betting system. Shouldn't break much any more
Pre-merge