Fixed crash in vtkLayerController by using smartpointers plus cosmetic changes.
I couldnt see any reason why a RenderWindowFrame should be a basedata, as it is just a special rendering object without any geometry etc.. Therefore I changed the baseclass and removed a senseless test.