sources fully restructured. added SDL/OpenGL.

the emulator is not yet functional. known bugs are:
- the sdl window shows in wrong size.
- DXYN seems to fail to apply color to pixels.
- logMessage do not show prompt messageboxes.
- loadRom and loadSettings need a lot of tweeking. the code is a wreck.