Changed the renderer to openGL, because I just discovered that Emscripten has openGL/SDL support. I've also set it to get the bits per pixel directly from the video infomation. Saves a few problems there... Feeling slightly happier now that I don't have to push pixels around. :/