Fixed first-class error in outputcontroller
Added error GUI