fix multi-threading framework in scene management
fix fullscreen crashes, rename time to cur_time
add multi-threading implementation for Linux platform