Added GUI implementation.