R4 update

My changes to it for update; major changes are basically itemsyndrome's update and the removal of rendermax and hotkeys. The speed increase for itemsyndrome is probably worth it.