Perform proper shutdown at program exit.
Include missing header.
Properly initialize SDL.
Add libSDL2 video.
Add virtual memory trap handler.
This method is very slow and platform dependent. Its purpose is to
ensure visual accuracy as VGA planar reads and writes are replaced.
Implement basic video output.
Most actual drawing functions are still stubbed out.