adjusted for running in 3D. it now at least runs, but has not been tested much