added trackballcontroll and gldetector. switching to first solution with THREE