Started switch to C++11, Started generalization of the classes to be Renderer independent, cleanup of some classes and fixup of a memory leak in GUI code