Fixed lack of donecallback.
Enable vsync.