I tested your patch (~20 minutes): No freezes at all, good work! I will continue later and meanwhile i'am trying to understand what the meanings of all that different xx_swap_buffers() functions/callbacks could be :) Thanks, Jens