Added major improvements to gui.