Alt hopper ticking bug fixes and refactoring