Added stronger error checking to FrontEnd, adding primitive output GUI