Added printall.
Fixed up entity definitions.

I like to be forward-compatible.
Added documentation.
Commented code.
Fixed non-standard code.
Fixed Lua API.
Updated documentation.
Added save data handlers.
Fixed SDL.