Attempted to rework thread execution for renderer, ran into several
problems with the native library crashing, have left code in to retest
at a later stage.
Have tweaked the envrioment constructor to allow for specification of
more threads and have also added more functionality to the save menu
dialog.