Added shell.html and moved it and pre.js to their own src folder.
Experimenting with improving SDL_LockSurface use.
Updated shell.html to look like an srb2.org site. :P
Yeah don't do the closure thing, it doesn't play nice with EM_ASM.
Moved filesystem stuff to post.js
Fixed resolution screen.
Default to showfps on, and save it in config.cfg
Autodelete corrupt gamedata.dat
Pass command line arguments from shell.html (WIP)