This mod has been made purely out of my rage at minecraft freezing repeatedly on intel devices and needing a relaunch to unfreeze it, now instead of freezing the game, it only lags for half a second which i personally see as a big improvement.
Rewritten the code again.\Added unfreeze keybind by deafult binded to "u".
Implemented thread priority.
Changed up the code hopefully now it will work for longer.
fixed the rendering bug