Some work on rendering, fixed sound error