fixed OnBackBufferResize for terrain (computation of triangle size on screen)
added .user file to keep the right execution directory