Added display() method, for displaying contents.
More GUI experimentation.