Added lines and depth buffering.