Introduced a callback queue / scheduler - massive performance improvements.