Threading for rendering

Spawns a separate thread to handle the rendering
Add constructor to clone Triangle3D's

Make shading-related fields in Environment public.
Revert "Threading for rendering"

This reverts commit 2396286058f62dac412aa61a3a88a87a1c3e4b34.
Fix distortion and remove unused imports
Merge branch 'master' into java8