Finished implementing code viewer.