a lot of changes, add ContextMutex to controll witch context must be
active. Rendering in another thread. Running in open source driver (i
use ati 3.3 core)