More and more GUI stuff. Almost done.