Use forkOS for main thread

radeon does some funky things otherwise.
Fix coordinate transform
Ensure redraws don't accumulate
Schedule resize callback