Thanks for the comment. You're right, there were quite a few bugs left, and it might have been a bit confusing. In any case, I really appreciate you taking the time to analyze it and provide detailed feedback.