Fixed silly lighting bug and added render option to show the mesh edges.