Moved title set to gui.