Remove unused reference to gui