Move VideoBuffer definition to a right header
Add preliminary support for quick savestates (files are temporarily saved in current dir); some fixes and cleanups