Resetting the game a few times can fix the speed. Since then, many other programmers have been nice to share with me some optimizations I can include. Thank you for your kind words!