dynamics now uses sdl::Mutex