Resolved concurrency problems and glitchy drawing