Updating with latest changes.  Non working.
beginning refactoring to use opengl.