Started debugging light engine, currently in inf loop