Finished implementing delegation.  Fixed some rotation related bugs on the iPhone.