was a bit to hasty with removing platform dependent code, we still need autreleasepools, but I moved them in the correct place, so the pool in the graphic thread gets drained regularly