Updated to v18, formatted the code so you can actually read it on my posts lmao, and fixed the error with the cursor entry not functioning.
Also, while testing with this, I realized that there was a step I missed that can cause a crash. Luckily, it's really easy to fix!