Almost finished diagnostic gui.