Added debug stats, reorganized code, added solid with wireframe material