Improved Rendering Performance and added Comments.