add a bunch of GPU tweaks from KT747