Cleaned up version of the Cerho Demoengine