fixed includes and max fps == 30 issue

- string.h is needed for some functions here, it's not included with 3ds.h anymore
- you have to wait for the vblank before asking for a flush of the buffers, you were missing 1vblank because of this