[not stable version]fix bugs for windows, add material view