Added the basic GUI for function plotting.