Adding task manager in gui.