Threading working
Simulate C static struct

Use CVec to convince Rust that this is actually safe, which it is
so long as the libretro frontend isn't broken.