added feature that displays the overall execution time.
(1) fixed the camera pyramids.
(2) minor refactoring.