VDP: improve DMA endline detection
CARTIDGE: prefer NTSC over PAL if supported
HW: handle switching PAL vs NTSC also for audio at runtime
HW: show FPS in title bar
Import option parser library
Fix couple of bugs
Switch to proper option parsing and add screenshot mode
YM2612: fix reloading of mode registers
Switch to mem_log
STATE: reset z80 after loading (assume it was reset at least once)
During testsuite, also save savegames
MEM: add compile-time option to fully disable logging
VDP: improve logging