Various bug fixes. Pull in component to disable vsync.