fixed betting checks, event loading, and performance on page load