Changed CMAKE file for integrating tbb. Found a bug of bad accessing framebuffer out of screen. Fixed a bug of framebuffer not reset.