added some light sources, finally made the engine really stop all threads when being closed